﻿namespace EasyCMS.WebUtils.UI
{
    using System;
    using System.Collections.Generic;
    using System.Configuration;
    using Spring.Aop.Framework;
    using Spring.Aop;
    using System.Reflection;

    public class AdminPage : Page
    {
        public EasyCMS.Common.IAdmins Admins
        {
            get
            {
                if (m_Admins == null)
                {
                    m_Admins = EasyCMS.Common.Runtime.ObjectContainer.Resolve<EasyCMS.Common.IAdmins>();
                }
                return m_Admins;
            }
        }
        private EasyCMS.Common.IAdmins m_Admins;

        public EasyCMS.Common.ISetup Setup
        {
            get
            {
                if (m_Setup == null)
                {
                    m_Setup = EasyCMS.Common.Runtime.ObjectContainer.Resolve<EasyCMS.Common.ISetup>();
                }
                return m_Setup;
            }
        }
        private EasyCMS.Common.ISetup m_Setup;
    }
}
